package com.doraemon.enums;

import lombok.Getter;

/**
 * 订单状态
 *
 * @author doraemon
 * @date 2017/9/12
 */
@Getter
public enum OrderStateEnum {
    /**
     * 新订单
     */
    NEW(0,"新下单"),
    /**
     * 已完成订单
     */
    FINISHED(1,"已完成"),
    /**
     * 删除
     */
    CANCLE(2, "删除");
    private Integer code;
    private String message;

    OrderStateEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
